#ifndef AGENTGROUP_H
#define AGENTGROUP_H

#include "AISteeringBehaviour.h"
#include "GameObject.h"
//#include "Agent.h"

#include <vector>

class Agent;

class AgentGroup : public GameObject
{
public:
	AgentGroup();
	~AgentGroup();
	void Draw() override;
	void Update() override;
	void DrawMiniMapElements() override;
	
	void AddAgent(Agent* agent);
	//std::vector<Agent*> GetNeighbours(Agent* agent, float radius);
	Neighbours GetNeighbours(Agent* agent, float radius);

	virtual bool Load(File* f) override;
	virtual const char* GetTypeName() const override;
private:
	std::vector<Agent*> m_agents;
	Agent* m_player;
	D3DXVECTOR3 m_mazeCellSize;
	D3DXVECTOR2 m_mazeSize;
};

#endif AGENTGROUP_H